package com.hrm.service;

import com.hrm.model.HrmApartment;
import com.hrm.model.HrmStaff;
import com.hrm.util.PageView;

import java.util.Map;

public interface HrmStaffService {
	/**
	 *
	 * @Title: findEntityPageByParam
	 * @Description: 根据搜索条件获取下行分页数据
	 */
	PageView findEntityPageByParam(PageView pageView, Map<String, Object> param);

	int updateStaffInfo(HrmStaff hrmStaff);

	HrmStaff getHrmStaff(Integer id);

	void deleteStaffById(Integer id);

	int addStaff(HrmStaff hrmStaff);
}
